package pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "user_info")
@AllArgsConstructor
@NoArgsConstructor
@NameStyle(Style.camelhumpAndLowercase)
public class UserInfo {
    @Id
    private String userId;
    private String userName;
    private String userPassword;
    private Boolean isMale;
    private Integer userAge;
    private String email;
    private Long addressId;
    private Long departmentId;
    private Long LimitsId;
    private byte[] headPortrait;
    private Date createTime;
}
